Creates cache dir if it does not yet exist.