How to convert potentially dangerous PDFs, documents and images to safe files?