Handle os.tmpDir for older versions of node (works in 0.8)
Merge pull request #3 from jasonpincin/master

Handle os.tmpDir for older versions of node (works in 0.8)