os.tmpdir() was called os.tmpDir() in node 0.8...

This causes the tests to fail on node 0.8 (travis), which
wasn't happening before (and suggests the tests were incomplete).