Add error handling callback.

Since Metalsmith 1.0.0, using `build()` without any parameters will not generate any output. This patch is meant as a temporary workaround until something can land in the core library.

Related: https://github.com/segmentio/metalsmith/issues/92