support chown --ref when migrating a home into another

Change-Id: Iea23edf71fc2cd465a569b53f66a26765506fcce