replace shelling out to tar with archive/tar