change file's encode