Header newlines weren't escaped

* Also, no consistency with dates