Handle emitted string error messages.

Patch for #57. Some transforms emit plain strings as errors. Let's create `PluginError`s with them.