fix div by zero error in cachestats (#1901)

Shameful.  Fixed my div by zero.