PDFBOX-4071: move getDiskCacheFile into try statement as this will potentially cause the SecurityException