Added migration/sync_maildirs.sh utility. Refs #1808