FIX: in registerFile, donc report a file as Failed if it is also
Successful (like in replicateAndRegister)
FIX: if registration fails, create a RegisterReplica operation, not a
RegisterFile