Fix TextFileDataSet to support MacOs line endings when reading through remote http connection