PDF plugin: handle 'ugly' URLs. Fixes #74.