# extract the files, but be smart: if only one directory is output,
# move the contents of that directory here
sh.call("tar", "xf", base)
# extract the files, but be smart: if only one directory is output,
# move the contents of that directory here
sh.call("tar", "xf", base)