avoid double memory usage in CSVFile
Merge pull request #1390 from gsomix/feature/csvfile

Avoid double memory usage in CSVFile