[Inkscape-devel] Changes to several extensions for Python 3 compatibility