Fix missing fs.existsSync