Fixed infinite loop when parsing csv line that ends with a carriage retu...

...rn