Fix uid bug in chroot wrapper.