Gymboree filed for bankruptcy protections, making it the latest casualty in a long line of troubled retailers.