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