We currently fork/exec to get the XRootD version and filesize, then again to actually perform the copy.
XRootD has a perfectly reasonable set of python bindings. Assuming we clear the environment in #20 and can guarantee that the user won't mess up our environment, we might as well start using those.