pub fn session_log_path_from_str(raw: &str) -> Option<PathBuf>
Extract a session log path from a string (e.g., from /proc/fd).