Remove temp files after script execution #531

* attempt to remove temp files after execution
* log warning if failure