Data counter fixes

Increase the default maximum stats file size.
Invalidate the home and roaming record pointers in the stats files when updated the history.