Use newly introduced payload_stream= argument to qubesd_call to pass data directly from some file-like object - without loading it all into memory. QubesOS/qubes-issues#853
QubesOS/qubes-issues#853