Create export-csv.sh

To export the data in the database to ouput.csv in CSV format