Change output directory of archive task and save to tmp folder.