Fixes #7. mktemp needs consecutive 'X's in last component.