pub fn write_artifact( artifact: &SignedAbReportV1, out: &Path, ) -> Result<PathBuf, String>
Pretty-prints the artifact to out (creating parent dirs). Returns the written path.
out