[fs] readdir and fix syscal #s