Fix for new ascii reader, BytesIO, and test suite

Aims at dealing with https://github.com/astropy/astropy/issues/2940 from the astroquery side.