Use proper temp files for extraction.