Add a function to dump the database as a CSV file