directory operations now return IoResults