Fix fileencodings