Disable progress_log printing when stderr is not interactive (i.e. a tty.)

This prevents lines that look like:
Done 00% of something...^[[0K^M
Done 10% of something...^[[0K^M
Done 20% of something...^[[0K^M
etc...
In the destination that stderr is redirected to.