Changes to keep db_migrate path Python 2.6 compatible

* AppEngine supports 2.7, but one deployment environment uses 2.6 still,
  and must run migrations.