WIP: fix numdirent, and uio_offset to update correctly. Handle extended
readdir support.