Ignore exceptions in fs.statSync (e.g. EACCESS); this ignores all exceptions blindly, so could be refined.