Fix newlines.
Add version info to data generated by HTTS.