Fix crash when dropping non-file urls

The crash was due to a SIGFPE.  Now we ensure that drag&drop events are
only accepted if there's at least one local file in the URL list.