include public.file-url data for pasteboard objects

Here’s an attempt at fixing #1805. I tried to do it with as few changes as possible. Note that no changes to the plug-in were required.

Probably not perfect, but this code should all go away soon, right?