Temp directory creation error fixed