Create /tmp folder if not exists

The server thread fails when downloading theme from the npm registry, since it couldn't find the 'tmp' folder initially. 
The commit checks if `currentdir+'/tmp'` exists and creates if not.
Merge pull request #6 from joelewis/master

Create /tmp folder if not exists