Fix restoring compressed backups