Trying path.exists instead of fs.exists