Allow options to be passed for CSV spreadsheet

These commits allow you to pass options to the CSV spreadsheet.