Fix the TimingLogger output.

I broke it when I made the std::ostream a parameter. This puts it back
how it was before.

Change-Id: Ib7d076d8507caf1721c46bb6b59522867c02026a
diff --git a/src/timing_logger.h b/src/timing_logger.h
index d713edf..6043d5a 100644
--- a/src/timing_logger.h
+++ b/src/timing_logger.h
@@ -43,11 +43,11 @@
   }
 
   void Dump(std::ostream& os) const {
-    os << name_ << ": begin";
+    os << name_ << ": begin\n";
     for (size_t i = 1; i < times_.size(); ++i) {
-      os << name_ << StringPrintf(": %8lld ms, ", NsToMs(times_[i] - times_[i-1])) << labels_[i];
+      os << name_ << StringPrintf(": %8lld ms, ", NsToMs(times_[i] - times_[i-1])) << labels_[i] << "\n";
     }
-    os << name_ << ": end, " << NsToMs(GetTotalNs()) << " ms";
+    os << name_ << ": end, " << NsToMs(GetTotalNs()) << " ms\n";
   }
 
   uint64_t GetTotalNs() const {