Fix restore -P with compressed dumps.