pub async fn save_session( path: &Path, header: &SessionHeader, entries: &[SessionEntry], ) -> Result<()>