Don't override files if the rendering module fails

Errors while rendering could bring a service down, and we definitely don't want that. This fixes #40 .