Windows: Fix iterator name buffer size not handling all possible file name components

Each u16 within a file name component can be encoded as up to 3 UTF-8 bytes, so we need to use MAX_NAME_BYTES to account for all possible UTF-8 encoded names.

Fixes #8268
c6ff1a7160Ryan Liptak committed on 10/29/2022, 9:30:44 PMparent33fdc43
2 files changedLine totals unavailable