cast date as str() when writing to CSV file