add gitignore
use tar.gz library instead of spawning shell commands, better for cross-platform
Merge pull request #2 from andyroyle/feature/use-targz

use targz