readcsv fix col count when no newline. fixes #4890

Increment column count for last row if there is no newline at end of file.