Add pdf.File.Info() to return a copy of the document's info dictionary.