[GHC] #10907: GHC fails to read file with byte-order mark when LANG=C