pub fn remove_suffix<'a, 'b>(
    string: &'a OsStr,
    suffix: Option<&'b OsStr>
) -> &'a OsStr