Fix restore problem with backups containing both compressed and
uncompressed files.