Get temporary directory names from one place.