Ensure cache dir exists