Recursively create cache-dir with decent permissions