This is most certainly a Java shortcoming, I do not think there is much we can do about this shortcoming in yEd.
The easy workaround is to copy the file to a local directory using one of your operating system's file browsers (e.g. Windows Explorer on Windows, Finder on macOS, etc.).