use targz

Use the tar.gz library instead of spawning shell commands.

Better for cross-platform, also shrinks the code further.