Implement event loop dispatch for fs.