Fix some errors in tor's python scripts
We've added `__future__` statements to all our scripts, and done some testing, but we should check the output of all our python scripts.
issue