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