Archive tmp file fix.