US supermarket operator Winn-Dixie Stores has reported an unexpected net loss for the second quarter, hit by increasing competition in the grocery industry.