build.sh: Set umask and $HOME.
build.sh: Sto preserving mode on root-image copy.