Restores correct legacy database files for upgrade tests

Commit 07f87b2b55d7832869f1d4a9c025df9b9b9be00c replaced strings
 in some legacy database files that are used as resources for
 upgrade tests. That lead them to reporting wrong versions
 and not being processed properly. This commit simply restores
 them to their correct contents, by checking out the previous
 versions.