Fix newline handling. (how did it take this long?! Fix rtorrent!)