fix choice of QR version for bytes mode