Use os.tmpDir() for temp-dirs

The former implementation preferred /home/{username}/tmp on unix
which caused errors for users that had different permissions on
their tmp-folder in their home, like root as owner from a previous
sudo-command.

The new implementation uses os.tmpDir() to be node 0.8 compatible

This fixes: isaacs/npm#3470
0.1.0