Microstructure in the electron beam and the shape of tagging TDC spectra