String.chomp maintains trailing carriage return