Fix Py2 TypeError in GEDCOM export

Due to writing regular strings instead of unicode strings.

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21378 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
Import ProGen: Use python3 print syntax

git-svn-id: svn+ssh://svn.code.sf.net/p/gramps/code/branches/maintenance/gramps40@21379 4ae1f11a-8b86-4847-b8af-ab372f36d1fd
ImportGedcom: Fix  Python3 "dictionary changed size during iteration" errors

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