fs: unix implementation of readdir_next