pub fn write_cache(cache: &BillingCache)
Write the billing cache to disk. Best-effort (does not error on failure).