Modifications needed to check output via Chirp or xrdfs.
Modifications needed to check output via Chirp or xrdfs.

Also: add a function to cleanup printing stdout when using
subprocess. Also: move to checking output after each transfer,
so that failed transfers can be retried.

matz-e/lobster,matz-e/lobster,matz-e/lobster