Make sure Homebrew Cache directory exists before trying to modify it.