Direct fluorination of polyester and related compounds