REGR/API: accept TextFileReader in concat (GH6583)

coses #6583

- API: change AssertionError to TypeError for invalid types passed to concat 
- REGR: TextFileReader in concat, which was affecting a common user idiom