pub fn sanitize_filename(name: &str) -> String
Sanitize a filename to prevent issues with special characters