Create tempdir if it does not exist

Instead of crashing the job.