Fix for node 0.8
Merge pull request #3 from Marsup/fix_tmpdir_0.8

Fix for node 0.8