Fix bug with untar gzip of modules.