fd: synchronous and asynchronous file descriptors

fd implements an API identical to lua's file object but with support for async operations following the lib/lap protocol.

Mod fd

filedescriptor: direct control of filedescriptors.

async operations support the LAP (see lib/lap) protocol.

Can override default `io` module for global async mode.

Functions