tornado: Fix import error on PyPy

tornado & PostgreSQL runs only on CPython 2 for now.