primary.gz contains garbage at the end. ignore if resulting file was not 0 byte