Update file encoding.