ciao-deploy: Propagate all errors from copying to target
ciao-deploy: Propagate all errors from copying to target

SSHCreateFile() uses a goroutine to copy data from the local file to
destination. Ensure that errors from both copying the data and closing
the pipe are correctly escalated.

Signed-off-by: Rob Bradford <c49e1dc14cd52e2644816db47123896e0ac79025@intel.com>

kaccardi/ciao,rbradford/ciao,markdryan/ciao,ciao-project/ciao,tpepper/ciao,kaccardi/ciao,tpepper/ciao,01org/ciao,ciao-project/ciao,markdryan/ciao,rbradford/ciao,01org/ciao,tpepper/ciao