Corrected check_output bytes output problem