distro: add sync_dir() and xsync_dir().
hypervisor: add xsync_dir() to install_os().
Merge branch 'feature-copy-dir'