Add option to ignore invalid records in scribe output plugin

Pretty straightforward, and the code was essentially stolen from the scribe input plugin.
Is `msg` a undefined value?
And you should warn also about error class of `e`.