unpack = 'tar -xvf -'
    unpack = extension =~ /gz/? 'gunzip | ' + unpack : unpack

  on host, "cd #{host['working_dir']}; curl #{path}/#{filename}#{extension} | #{unpack}"