replace "path.exists" to "fs.exists"

replace "path.exists" to "fs.exists"