Move file copying steps to before chroot.