supress redrawing of progress if redirecting to file
python3 fixes
Merge pull request #19 from ActiveState/notty_progress

supress rewriting of progress bar if redirecting to file