Make exceptions stringify to message.

Fixes issue discovered by adu++, and means we make it through QRegex
and P5Regex tests (though with failures).