gkeys/SaneConfigParser: Fix py3 imports
gkeys/base.py: Py3 compatibility fix