Text this: Photon transport in bimodal atom-cavity systems with waveguide coupling: Application to deterministic photon subtraction