Update redirector.py to actually work.

You shouldn't need to add ".html" when entering your url:
api.dartlang.org/io should just work.