Text this: A Potential Method for Diagnostics of Subfemtosecond Electron Beams Using Coherent Optical Transition Radiation