tag: Don't write newline if not pretty printing

Fix regression from print fix.

Signed-off-by: BJ Hargrave <bj@bjhargrave.com>