Enforce latin-1 encoding for text files
Convert NTPath to OS specific path while reading .gen files