Fixed newlines at eof in CSV files