Use random cache folder

Use random cache directory (optional), based on two levels of hashed image