ignore TypeErrors while checking for rpcmethods.

If an app uses unicode_literals from __future__ and has
strings in its __init__ import fails.

i.e. django-debug-toolbar.