fix file encoding for windows