Use camelCased os.tmpDir method on node v0.8