No longer continuously write the file to the sdcard.  Some fixes for creating and sending the csv file by mail.