pub fn into_bstr<'a>(path: impl Into<Cow<'a, Path>>) -> Cow<'a, BStr>
Similar to try_into_bstr() but panics if malformed surrogates are encountered on windows.
try_into_bstr()