The cp command didn't work because the API (get_archive/put_archive)
expect a tarfile but the CLI send/receive a raw file. This commit
did the following:
* Package the source file into a tarball before calling put_archive
* Untar the file returned by get_archive
Change-Id: I296054c26a8cd3e098967b777f6ff061fbd6c3cf