#58 - Use a temp file when gzipping to avoid orphaned .gz files.