Fixed crash when logging a byte array

Commands returning a bytearray no longer automatically log the result