Converts the CSV data to a CSV-formatted string.
the CSV-formatted string representation
the line separator to use
whether to escape whitespaces in values