Fixed bug in reading a delimited file line endings