Convert sqlalchem step to new naming and jinja2, get running on Python 3.