Moving uploading file code further down the call stack.
os_rest exposes a (poorly implemented) upload function.
Can upload a file in chunked form.
Sensible chunking of images.