SAFE: Improving LLM Systems using Sentence-Level In-generation Attribution