public void WriteStat(string statfile, long value) { cache.EnsureKey(K_Stats); System.IO.File.WriteAllText(cache.MakePath(K_Stats, statfile), value.ToString()); }