XNAT-2555: hash text in DICOM filename should use instance UID; tweaked hash computation