Make sure that we don't produce invalid CSV

If an attribute contains the double-quote character ("), special care
needs to be taken to ensure that we output valid CSV.

According to the CSV standard such characters should be prepended with
an extra " to maintain a proper format.