Strict version of 'readFile' in BNFC.Utils for Windows compatibility