LegacyHooks: add intercept hook for dnd files

For future flexibility, it would be good to be able to intercept when IJ
is asking to open a file via drag-and-drop.
LegacyExtensions: use dnd-file hook

Instead of limiting us to the fileOpen hook, let's use the new hook
intended for drag-and-drop file opening.