A company in San Francisco is developing compostable food bags that change color when the item is spoiled.