Added unicode filename support to the PDF uploader.

Unsurprisingly, this requires some server-side changes to work.
[#58673784]
Escape _all_ invalid filenames. [#58673784]
Handle Unicode filenames on the server. [finishes #58673784]