Gracefully handle proxied SyntaxErrors when using the logcapture plugin

Fixes erikrose/nose-progressive#62

The logcapture plugin formats errors by extracting and converting
the value to a string. Nose recreates a proxy exception lacking
filename and lineno attributes, which crashes the shortcut formatting