Fixed check_output not getting stderr