*8752* Make upgrade file rename idempotent