Change temporary directory structure.