Improved recursively-change-owner-and-group.xq.