Ensure writer errors are propagated.