Merge "metricsd: Persist the report to disk if an upload fails."