[#938] Add support for unique temporary folders.