Fix a problem reading lines with quoted fields in last position.
Closes #1.