template code for s3/cloudfiles intra move/copy