Lazily find/create disk cache directory.

Fixes #298.