stats: add version field to stat segment base header