migrate_to_ar: cope with the database path changing
Assume we just have a database at the old path
db/production.sqlite3, then dump that to the YAML file.
Then run the migration which will create the new, blank database at
db/production/production.sqlite3, which we will then import the YAML
file to.
Fixes #63