A helper function for joining CSV fields.
- Create a CSV record by joining its fields.
Returns a CSV record (e.g. a string) from a sequence of fields.
Fields containing commands (,) or double quotes (") are quoted,
and double quotes are escaped ("").
The terminating newline is *not* included.