make sure temp folder is created