Fixed "path.existsSync is now called `fs.existsSync`" warning.