fixed #623
don't delete temporary files if nothing has been extracted.