Support node 0.8 which has os.tmpDir with different capitalization