I suppose that it was related to the integration with other applications.
More precisely, I have some special non-text "editors" registered for some binary types, e.g.:
7zFM.exe for the *.zip;*.jar;*.ear;*.war;*.rar;*.aar extensions list
jd-gui.exe for the *.class one
It is possible that after pressing F5 to download such a file (it was a jar one of approx. 3 MB), I've accidentally press Enter, too, which triggered the editing action on that archive file. (It's not clear if it the editing was on the original (remote) one or on the copied (local) one.)
Auto-generated message bellow:
Invalid access to memory.