Fix for windows

Tried it out on my own windows setup.

For reference, I used a virtualenv with pip, which installs urllib2 it seems. Not sure whether to put that in requirements.txt.