[Fixes #84590044] Trim trailing blank cells in comma or tab delimited files.

Helps interpret header lines correctly.
Also, recognize text/tab-separated-values mime type.