Issue #61: clean up temporary files in case of crash during parsing.