miner zip/unzip wrapper functions