stats: bug fixes & tweaks on expvar.Publish