In a Flink FileSystem sink configured with a 10-minute file rollover time and a 1-minute checkpoint interval, how does Flink ensure exactly-once semantics when a checkpoint fails? Specifically, what happens to the in-progress file data, and how is it handled during recovery to avoid duplicates or data loss?