clean temp dir and use python zipfile for extraction