path.existsSync became fs.existsSync in node 0.8