After-treatment of fluorine-containing membranes