Text this: Application of dielectric fibers for electron beam diagnostics