Used reentrant readdir_r for fs iteration