pub fn decode_name(raw: &[u8], flags: u16) -> String
UTF-8 when general-purpose flag bit 11 says so, else CP437 as the spec and .NET have it, so a file is written under the name the game expects.