Fix stat names so delete of stats on restart works

Folsom can get inconsistent. When it does stat updates will fail.
When a stat update fails the stat server crashes. Deleting on
start up is a way to get folsom consistent again.

This commit fixes a bug where the api stats were not all
deleted due to using the wrong stat name format.