Handle string exceptions in proxy

Prior to Python 2.6, the exception type could be a string rather than a
class. Handle these types of exceptions when post-processing exception
values in the proxy after they have been modified by plugins.

Bug #610

Signed-off-by: Zane Bitter <zbitter@redhat.com>