Renamed function call as per a deprecation warning.

`str::raw::c_str_to_static_slice` has been renamed to `str::from_c_str`.