[v6r11] Fix the registerFile method of the DataManager

Fix the registerFile method of the DataManager so that it does not make useless checks on the StorageElement (see https://github.com/DIRACGrid/DIRAC/issues/1796)

Fix a small mistake in the XROOT storage plugin