pub fn write_snapshot(snapshot: &FleetSnapshot) -> Result<()>
Write the snapshot atomically (temp file + rename).