fix typo that broke state file maintenance.  Also fixes file rotation following issues
fix typo that broke state file maintenance.  Also fixes file rotation following issues

honeycombio/honeytail,honeycombio/honeytail