This was on purpose to show that we can handle things that are not ints but can be cast to ints as well. pycurl doesn't handle things gracefully when it is given unexpected types, so inside the downloader I've wrapped this with int().

I'll add a comment to this effect to this test, and another test that tests with an int.