try to work around the qbytearray issue
try to work around the qbytearray issue

https://anki.tenderapp.com/discussions/ankidesktop/3369-bug-report-for-restoring-from-backup

eduOS/anki,abeyer/anki,ospalh/libanki3,weihautin/anki,LucasCabello/anki,jakesyl/ruby-card,florianjacob/anki,xuewenfei/anki,jkitching/anki,go38/anki,weihautin/anki,holycrepe/anki,hssm/anki,sunclx/anki,kenjhim/anki,socialpercon/anki-1,Arthaey/anki,subfusc/anki,jakesyl/ruby-card,hssm/anki,Stvad/anki