Sort out temporary directory creation with individual names.