Update file encoding