Fall back to os.tmpDir if os.tmpdir is not found. This makes the module work in node.js 0.8.
Merge pull request #7 from Munter/master

Fall back to os.tmpDir if os.tmpdir is not found.