[fs] syscall stubs, implement isdir and inumber