Create tmp dir if it does not exist

And it would be lame to put the burden of its creation to the user.
Merge pull request #3 from xrmx/patch-2

Create tmp dir if it does not exist