urllib.quote string fields in record format