better parsing of fields with \n, " and other bad chars