Fix python 3.x compatibility for requests retries.

Testing Done:
tox (with python 3.3 and python3.4 actually installed this time).

Reviewed at https://rbcommons.com/s/twitter/r/1369/