Fixes #29584
On default legacy wallets, the backup filename starts with an “-” due to the wallet name being empty. This is inconvenient for systems who treat what follows the initial “-” character as flags.
Note: As the user can freely set the wallet name to anything, we could also guard the backup filename against other inconvenient characters in the future (we need to be careful here, because the wallet name could also be a path).