tag: Don't write newline if not pretty printing

Fix regression from print fix.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>
Merge pull request #687 from bjhargrave/tag-compact-print-fix

tag: Don't write newline if not pretty printing

Fix regression from print fix.