pub fn normalize_dir_path(path: &str) -> String
Normalize a directory path to ensure it ends with a slash