Fix spurious newline in d3 output.