Fixed a Csv bug. (no newline on the lastline)