- Fix compile error on gcc 6 (-Werror=misleading-indentation) - Follow coding style: https://www.qubes-os.org/doc/coding-style/
This is counterpart of 5774c78 "qfile-agent: move data handling code to libqubes-rpc-filecopy" in core-agent-linux. The main purpose is to easily reuse the code in dom0 qvm-copy-to-vm tool. QubesOS/qubes-issues#1324