Fix: writeBinaryFile to call the correct command (fix #1133) (#1136)
* Fix writeBinaryFile to call the correct command
Fixes #1133
writeBinaryFile was reusing writeFile, which was happily saving
base64 encoded strings to the fs. This instead uses the correct
WriteBinaryFile command, which base64 decodes.
However why are we encoding and then decoding, why can we not just
send a raw byte array to be saved as a file? This is left for a later
PR.
* Shorten changelog line per review