Fix example tests on Windows with Python 2.6.
Fix progress bar test on Windows.