fn render_filename<P: AsRef<Path>>( path: P, basedir: Option<&str>, ) -> CargoResult<String>
Bacially just normalizes a given path and converts it to a string.