fix(tmpdir): fix temp os module error in node 0.8.x