Emergence of antibiotic resistance from multinucleated bacterial filaments