Change cache directory structure