ENH: example scripts -- cleanup tmpdir automagically via trap

otherwise those directories pile up on sandbox, exhausting disk space
after a while
Merge pull request #237 from yarikoptic/master

ENH: example scripts -- cleanup tmpdir automagically via trap