patch applied (cabal): Take line endings into account in IOEncodingUTF8 mode