fix crash in csv table when line missing endline
Merge pull request #372 from mojavelinux/fix-table-crash

fix crash in csv table when line missing endline