Added automatic tempfile removal from battlereport JSON miner