Radiation of a charge exiting open-ended waveguide with dielectric filling