Changed the filename for pdf downloads to be the UID.pdf. Fixes #8020