extract gzip

Backups can't be restored when they are gzipped. This fix implements a gunzip before extracting.