Browserify plugin to write failed build error messages to the output file