[Bug 49935] mismatch behavior in API function GetOpenFileName