Insert "error" documents to indicate failures

When a document fails to download, or is broken somehow, replace it with
a blank document that has an explanatory error message on it.