Fix the filesystem implementation in order to get blargSnes to run

=>
    u32 entries_read = 0;
    for (auto it : directory.children) {
        ++entries_read;
        if (entries_read >= count)
            break;

        // ....
    }