pub fn write_export(export: &SanitizedSplitExport, path: &Path) -> Result<()>
Write sanitized export JSON.