Bring back tuf/log.py from edec089965f461460a23c1765caa52d3ede6a63b.
Merge remote-tracking branch 'upstream/demo2' into demo2
Clean up after botched merge (oops). Add try/finally to endless data test to ensure temp files are always removed.