build_chroot_jail: put directory creation in more reasonable location