LegacyExtensions: update open path

When intercepting open signatures, if a hook returns a String value we
will now interpret that as the file path. This way, if a user selects a
path via a file chooser in IJ2, they shouldn't have to select it again
in IJ1.