xnat: download functionality almost on track