Winn-Dixie swings to loss in Q2