Remove the tempname properly
Remove the tempname properly


Former-commit-id: 91d9bb752240cec153e985e64c1e73ae4b9b13ab [formerly 7d64b23994b60eb3154085c0b03ee0abca87f167]
Former-commit-id: d790c384d99f1c4db0c3fada61a949c523724ccf
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine