Issue #2103095 by CarlHinton, alexandrezia: prevent warning on failure to create pdf cache directory.