Create a function that allows unloading a query into a csv (or similar) file from redshift to the S3 server.