Fixed missing tmp directories