Fix unicode errors in fetch bugs.

I think that here you need to ``encode`` instead of ``decode``.