Fix a regression caused by the Python3 port in tabcreatedb.py

This fixes the build of ibus-table-chinese.