BUG: Fix chunked reading of strings longer than BUFFERSIZE
BUG: Fix chunked reading of strings longer than BUFFERSIZE

This fix correctly calculates the number of BUFFER_SIZE chunks to read.
This fix takes into account dtype sizes that could be larger
than the BUFFER_SIZE, like a long string.
See #4027

kirillzhuravlev/numpy,mattip/numpy,stuarteberg/numpy,MaPePeR/numpy,mattip/numpy,skymanaditya1/numpy,cowlicks/numpy,jakirkham/numpy,skwbc/numpy,embray/numpy,yiakwy/numpy,KaelChen/numpy,sinhrks/numpy,pizzathief/numpy,solarjoe/numpy,MSeifert04/numpy,kirillzhuravlev/numpy,joferkington/numpy,Dapid/numpy,GaZ3ll3/numpy,dimasad/numpy,nguyentu1602/numpy,jorisvandenbossche/numpy,CMartelLML/numpy,shoyer/numpy,ESSS/numpy,nbeaver/numpy,mhvk/numpy,GaZ3ll3/numpy,GaZ3ll3/numpy,ChanderG/numpy,charris/numpy,ChristopherHogan/numpy,GrimDerp/numpy,mingwpy/numpy,felipebetancur/numpy,KaelChen/numpy,nguyentu1602/numpy,mathdd/numpy,skymanaditya1/numpy,sigma-random/numpy,sigma-random/numpy,BMJHayward/numpy,brandon-rhodes/numpy,MichaelAquilina/numpy,charris/numpy,moreati/numpy,NextThought/pypy-numpy,ViralLeadership/numpy,rajathkumarmp/numpy,abalkin/numpy,gfyoung/numpy,pdebuyl/numpy,behzadnouri/numpy,shoyer/numpy,rmcgibbo/numpy,rudimeier/numpy,njase/numpy,githubmlai/numpy,MSeifert04/numpy,jakirkham/numpy,charris/numpy,mathdd/numpy,dwillmer/numpy,Yusa95/numpy,BabeNovelty/numpy,sonnyhu/numpy,has2k1/numpy,BMJHayward/numpy,dimasad/numpy,ekalosak/numpy,bmorris3/numpy,MaPePeR/numpy,bertrand-l/numpy,AustereCuriosity/numpy,ajdawson/numpy,Yusa95/numpy,abalkin/numpy,madphysicist/numpy,Anwesh43/numpy,jankoslavic/numpy,mathdd/numpy,utke1/numpy,ddasilva/numpy,MichaelAquilina/numpy,CMartelLML/numpy,WillieMaddox/numpy,BabeNovelty/numpy,dwillmer/numpy,dch312/numpy,rgommers/numpy,larsmans/numpy,kirillzhuravlev/numpy,brandon-rhodes/numpy,shoyer/numpy,yiakwy/numpy,rherault-insa/numpy,joferkington/numpy,simongibbons/numpy,gmcastil/numpy,MaPePeR/numpy,stuarteberg/numpy,rgommers/numpy,trankmichael/numpy,ChristopherHogan/numpy,immerrr/numpy,naritta/numpy,numpy/numpy,mingwpy/numpy,ahaldane/numpy,mortada/numpy,jankoslavic/numpy,larsmans/numpy,Anwesh43/numpy,mwiebe/numpy,empeeu/numpy,empeeu/numpy,pyparallel/numpy,seberg/numpy,brandon-rhodes/numpy,drasmuss/numpy,skymanaditya1/numpy,mortada/numpy,solarjoe/numpy,gfyoung/numpy,jonathanunderwood/numpy,rhythmsosad/numpy,ekalosak/numpy,MSeifert04/numpy,bringingheavendown/numpy,rhythmsosad/numpy,AustereCuriosity/numpy,njase/numpy,cjermain/numpy,rudimeier/numpy,ajdawson/numpy,leifdenby/numpy,NextThought/pypy-numpy,jschueller/numpy,jankoslavic/numpy,sigma-random/numpy,larsmans/numpy,pdebuyl/numpy,AustereCuriosity/numpy,NextThought/pypy-numpy,leifdenby/numpy,pbrod/numpy,bertrand-l/numpy,grlee77/numpy,Linkid/numpy,githubmlai/numpy,felipebetancur/numpy,jakirkham/numpy,mathdd/numpy,numpy/numpy,Linkid/numpy,ContinuumIO/numpy,WarrenWeckesser/numpy,Srisai85/numpy,KaelChen/numpy,dato-code/numpy,dato-code/numpy,musically-ut/numpy,tynn/numpy,mattip/numpy,cjermain/numpy,Linkid/numpy,mingwpy/numpy,SiccarPoint/numpy,andsor/numpy,pyparallel/numpy,bringingheavendown/numpy,chatcannon/numpy,naritta/numpy,mwiebe/numpy,githubmlai/numpy,naritta/numpy,cowlicks/numpy,dimasad/numpy,ekalosak/numpy,Srisai85/numpy,groutr/numpy,chatcannon/numpy,jakirkham/numpy,tacaswell/numpy,Linkid/numpy,sinhrks/numpy,ESSS/numpy,rherault-insa/numpy,SiccarPoint/numpy,has2k1/numpy,MichaelAquilina/numpy,BMJHayward/numpy,sonnyhu/numpy,embray/numpy,cjermain/numpy,pizzathief/numpy,musically-ut/numpy,naritta/numpy,mhvk/numpy,WillieMaddox/numpy,immerrr/numpy,rudimeier/numpy,dato-code/numpy,ahaldane/numpy,endolith/numpy,bmorris3/numpy,numpy/numpy,mhvk/numpy,njase/numpy,ViralLeadership/numpy,ViralLeadership/numpy,drasmuss/numpy,rherault-insa/numpy,SiccarPoint/numpy,nbeaver/numpy,ESSS/numpy,ChristopherHogan/numpy,jschueller/numpy,Eric89GXL/numpy,seberg/numpy,utke1/numpy,dch312/numpy,rgommers/numpy,BabeNovelty/numpy,simongibbons/numpy,rhythmsosad/numpy,SunghanKim/numpy,pdebuyl/numpy,hainm/numpy,bmorris3/numpy,jonathanunderwood/numpy,ContinuumIO/numpy,anntzer/numpy,jschueller/numpy,ddasilva/numpy,dimasad/numpy,kiwifb/numpy,Anwesh43/numpy,argriffing/numpy,drasmuss/numpy,grlee77/numpy,rajathkumarmp/numpy,skwbc/numpy,b-carter/numpy,GaZ3ll3/numpy,joferkington/numpy,dwillmer/numpy,MichaelAquilina/numpy,MSeifert04/numpy,pizzathief/numpy,Dapid/numpy,felipebetancur/numpy,SunghanKim/numpy,chatcannon/numpy,madphysicist/numpy,grlee77/numpy,maniteja123/numpy,tdsmith/numpy,pdebuyl/numpy,cowlicks/numpy,argriffing/numpy,rgommers/numpy,embray/numpy,Eric89GXL/numpy,cjermain/numpy,tacaswell/numpy,b-carter/numpy,solarjoe/numpy,mingwpy/numpy,Yusa95/numpy,dato-code/numpy,groutr/numpy,ContinuumIO/numpy,rmcgibbo/numpy,stuarteberg/numpy,nguyentu1602/numpy,grlee77/numpy,jschueller/numpy,ChristopherHogan/numpy,ahaldane/numpy,tdsmith/numpy,pyparallel/numpy,andsor/numpy,trankmichael/numpy,anntzer/numpy,seberg/numpy,skwbc/numpy,rmcgibbo/numpy,ajdawson/numpy,chiffa/numpy,mhvk/numpy,madphysicist/numpy,Dapid/numpy,pbrod/numpy,maniteja123/numpy,SiccarPoint/numpy,chiffa/numpy,NextThought/pypy-numpy,jorisvandenbossche/numpy,jankoslavic/numpy,mhvk/numpy,anntzer/numpy,Srisai85/numpy,tdsmith/numpy,ssanderson/numpy,rmcgibbo/numpy,ddasilva/numpy,embray/numpy,sinhrks/numpy,tynn/numpy,sigma-random/numpy,Eric89GXL/numpy,utke1/numpy,brandon-rhodes/numpy,has2k1/numpy,madphysicist/numpy,ajdawson/numpy,MSeifert04/numpy,ssanderson/numpy,sonnyhu/numpy,hainm/numpy,BabeNovelty/numpy,groutr/numpy,empeeu/numpy,ChanderG/numpy,gmcastil/numpy,BMJHayward/numpy,simongibbons/numpy,rhythmsosad/numpy,musically-ut/numpy,SunghanKim/numpy,empeeu/numpy,WillieMaddox/numpy,Eric89GXL/numpy,mortada/numpy,andsor/numpy,madphysicist/numpy,andsor/numpy,rajathkumarmp/numpy,immerrr/numpy,maniteja123/numpy,pbrod/numpy,trankmichael/numpy,WarrenWeckesser/numpy,jakirkham/numpy,CMartelLML/numpy,GrimDerp/numpy,jorisvandenbossche/numpy,felipebetancur/numpy,yiakwy/numpy,mindw/numpy,endolith/numpy,ahaldane/numpy,tynn/numpy,Yusa95/numpy,mindw/numpy,behzadnouri/numpy,hainm/numpy,nguyentu1602/numpy,WarrenWeckesser/numpy,pbrod/numpy,mortada/numpy,stuarteberg/numpy,mindw/numpy,ssanderson/numpy,dch312/numpy,charris/numpy,jorisvandenbossche/numpy,nbeaver/numpy,ChanderG/numpy,simongibbons/numpy,KaelChen/numpy,dwillmer/numpy,yiakwy/numpy,dch312/numpy,seberg/numpy,kiwifb/numpy,jorisvandenbossche/numpy,sonnyhu/numpy,CMartelLML/numpy,bringingheavendown/numpy,bertrand-l/numpy,chiffa/numpy,shoyer/numpy,skymanaditya1/numpy,immerrr/numpy,jonathanunderwood/numpy,leifdenby/numpy,WarrenWeckesser/numpy,endolith/numpy,behzadnouri/numpy,rajathkumarmp/numpy,pbrod/numpy,gfyoung/numpy,b-carter/numpy,has2k1/numpy,joferkington/numpy,Srisai85/numpy,rudimeier/numpy,numpy/numpy,kirillzhuravlev/numpy,shoyer/numpy,embray/numpy,moreati/numpy,simongibbons/numpy,MaPePeR/numpy,mwiebe/numpy,pizzathief/numpy,abalkin/numpy,grlee77/numpy,GrimDerp/numpy,pizzathief/numpy,anntzer/numpy,sinhrks/numpy,cowlicks/numpy,musically-ut/numpy,larsmans/numpy,ahaldane/numpy,ekalosak/numpy,SunghanKim/numpy,tdsmith/numpy,argriffing/numpy,bmorris3/numpy,endolith/numpy,WarrenWeckesser/numpy,tacaswell/numpy,moreati/numpy,mindw/numpy,trankmichael/numpy,mattip/numpy,Anwesh43/numpy,GrimDerp/numpy,kiwifb/numpy,ChanderG/numpy,hainm/numpy,gmcastil/numpy,githubmlai/numpy