A small command-lin script to run mysql queries and write out results to CSV file.