Centralize the creation of unique temporary directories in VirtualdDir.createUniqueTempDir() and used where appropriate.
this fixes multi-process problems
(cherry-picked from 233d0c6)