Fix two issues with Python 3: * Use class annotations to denote an implementation of a Zope interface; * A classical byte/str issue.