Alter setup call for cache to create tmp dir if necessary