Remove rogue trailing newline