wrap existsSync into a fiber