format timer output: remove newlines