GNU coreutils fix: the template provided to mktemp needs 3 consecutive “X”s in last component.