modify file encoding