Fixed crunching tmp files bug