BUG: fixed chunksize guessed to 0 (py3 only). #8621
Fixes https://github.com/pydata/pandas/issues/8621
As mentioned in the github issue its a py3 only bug. I copied the test @rmorgans made

need a release note in v0.15.2 referencing the original issue.
 @papaloizouc thanks for the fix!
