chroot-file: use a temporary build-dir to build host file.