Bugfix: Fix damaged repository after concurrent `init` on REST backend

When two `restic init` runs raced against the same empty repository on
the REST backend, the repository could end up with a leftover key file
that did not belong to the stored config. Clients that happened to pick
that key failed with a "config or key ... is damaged" error.

Restic now stores the config file before the key file during `init`, so
the losing run no longer leaves a key file behind.

https://github.com/restic/restic/issues/5717
https://github.com/restic/restic/pull/21944
