For small files you can do it this way:
(1) Read file from storage into JavaScript variable
(2) Do a BASE64 encode of the String
(3) Send the BASE64 String to SAP MII
(4) Use the Image Writer action to save the BASE64 String to a file
The Image Writer requires a BASE64 string, but saves the unencoded data to MII.
Regards
Tobias