Fix print in migration.py for Python 3 compatibility

Small fix to migration.py