Added migrate_homes command for migration to the new homes file format