Remove the temp directory if the extract process failed