output_str is for outputting strings without newline, and the newly introduced output_strln now has the old behavior of ending with a newline.