Make cache directory

Previously, when a cache directory was passed to the ApplicationCache,
it never ensured that the directory existed.  This change ensures that
the directory is created if it does not exist.

[#50171627]
Merge 50171627-fixes to master

[Completes #50171627]