Merge pull request #39 from krlmlr/in-dir-tar

replace broken on.exit with in_dir when calling tar
Merge branch 'master' into develop