fix metric names for time_window report (fixes #165)

ended up just replacing anything that isn't alphanumeric or an
underscore with an underscore. Drastic but safe.
Merge remote-tracking branch 'origin/devel' into devel