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