path.exists into fs.exists