Sanitize dots in metric names too.
Flush StreamLogger periodically.

fixes #4890
Start log flush timer after binding the stream.

refs #4890