Fix progress bar since Windows doesn't support ANSI escape codes

* Use the colorama module to enable the "clear the line" ANSI escape
  code on Windows.
* Disable cursor hiding on Windows since Windows terminal doesn't
  support it nor does colorama.
Merge pull request #2281 from dstufft/windows-progress-bar

Fix progress bar since Windows doesn't support ANSI escape codes