make sure tmp folder exists