{argsparser, dbbase}.py: Adds py3 keys() compatibility