6496: GUI Export fails in gramps40


git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21774 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
5163: Another crash in same editor.


git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21776 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Python3 UnicodeDecodeError in python3 on unpickling data saved in python2


git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21778 4ae1f11a-8b86-4847-b8af-ab372f36d1fd