Use shell=True for tar

Otherwise for some reason the regular expression is not
parse properly.