Fix InvenioRDM draft file upload
- wrap the file IO in a context manager to close it once it's not needed anymore
- call
set_content()
only on the file in question, not all files for the draft (that have likely already been committed) - override the
_data
property of the outgoing stream to prevent the requests library from doing its magic