Revert "PDF urls: remove percent encoding"

This reverts commit be4b9a80020e7baaf075493e7bf67ce405cc40cd.
Revert "Implement proper URL detection for recent PDF.js versions. Closes #72."

This reverts commit e1edc547093b942a4b4b3d433bbb91e0e2aae1ce.