Update pet2tgz

Avoid temp files; make simpler
Merge pull request #507 from noryb009/master

Update pet2tgz