Handle lines in console helpers when standard_input is set to binary