Fixed an exception when a line in a CSV file ends with a double-quote.