Correct line ending doubling.

The input was split into lines but not stripped of newlines. As a result,
when the redacted text was output using the default Python print
function, each line had two newlines at the end. Corrected by overriding
the default print function end argument with an empty string.