Made the creation of the Temp dir recursive

I found that I can't create tempdir like this ```temp/staging``` cause the recursive option is not activated in the ```mkdir``` function .

The PR is very simply and it has no drawbacks , please merge it , Thanks
Please, follow our coding standard: put spaces after comma and use uppercase TRUE. And squash it to single commit. http://makandracards.com/makandra/527-squash-several-git-commits-into-a-single-commit