Similar treatment for cache basedir as to not get fooled by naughtly labels
Hashing name as to quell any ../../../etc/passwd sort of naughty labels.