Bain-owned cable-box company files for bankruptcy