Unwrap IO directory.
io.Directory /*!*/ unwrapIoDirectory(fs.Directory dir) => (dir as DirectoryImpl).ioDir!;