Create cache directory if it does not exist