A nearly century-old Chicago candy maker has filed for bankruptcy as rising costs and heavy debt pressure its business.