Correctly replace format in backup format.
Correctly replace format in backup format.

Previously, a format like "%%b" would NOT result in "%b", as expected, but in "%<basename of old_file>". In other words, the result was dependent on the order of the replacements done.

Tblue/pacmimi