Create tempdir if it does not exists

Instead of crashing the job.