Randomising the name would appear to make the inconsistencies across runs more likely, not less.

This wouldn't be relying on anything in the external system: we are making a new temporary directory, and putting that and only that on the path. The results should be entirely consistent.