enforce UTF-8 file reading on windows