We may as well use `fs.existsSync` here.  It's only tests so they can run synchronously.