create tempdir if it does not exist
other commits