Don't use string interpolating when logging, let the logging framework do that.

Also, in hadoop.py, don't recalculate err_line.strip() a bunch of times.