update archive state to use archive module for tar files
make directory before extracting