Update pet2tgz

Avoid temp files; make simpler
Merge pull request #511 from noryb009/testing

Update pet2tgz