pub fn split_path(path: &str) -> Vec<&str>
Split a file path into components, handling both Unix and Windows separators.