I have a string encoded in base64. This chain is a PDF, ie contains a PDF. How do I save or export them this string to get a PDF file?