fixed file encode.