framenet.py: Python 3 compatibility