pub fn split(uri: &str) -> Result<(String, String), Error<'_>>
Split a URI into its dirname and basename components
Returns (dirname, basename)