unbreak tests in python3.3

`contextlib.redirect_stdout` doesn't exist in 3.3. Instead of using
that, add an explicit parameter to redirect curl progress output in
tests.