fix fs.exists bug in new version nodejs