Fix Jira issue #ROOT-6497 TSQLFile reading (and writing) (thanks to Jeter Hall)