checkpoint before trying to get rid of the temporary file
Changed export_gzipNexon so that gzipFile creation uses a StringIO and avoids making any tempdirectories that couldn't be cleaned up.