Text this: Tailoring optical pulse transport in a two-mode waveguide coupled with a quantum system