sj: Avoid extra newline at end of output

uniq(1) insisted on terminating the output with \n, remove it and
rewrite.

e46eed50-0718-11e4-b1a4-000df06acc56