* path_open of a directory without OFLAGS_DIRECTORY worked on linux, but fortunately not on windows! * the errno is BADF instead of NOTCAPABLE for fd_seek on a directory * no way for a directory to have the FD_SEEK right.