Fix byte/string issues in send_command