Bug 955363 - Uploading of file content using remote API/CLI requires many times more heap then file size