path.exists to fs.exists