Hostess Brands, the baking company known for sweet treats like Twinkies and Ding Dongs, filed for bankruptcy on Wednesday, just three years after emerging from an earlier restructuring process.