Fix "sed: RE error: illegal byte sequence"