only make the temp dir once