Filing for bankruptcy doesn't necessarily mean the end for a struggling business. While some fast-food chains managed to make it out alive, others weren't so lucky.