csclient: make Do more general; make Get do more work

This will make it easier to implement archive downloading without
duplicating code.