Don't use the .gz filename for the temprorary file
(#299)