Fixed a bug with #to_s carriage-returns