df_to_csv function

Convert a data.frame to a CSV-formatted character string