pub fn validate_path_chars(path: &str) -> Result<()>
Validates that a path contains only characters valid for the current platform.
Checks for invalid characters and Windows reserved names (CON, PRN, etc.).