Use buffer except for 2.6

Simplify the patch. Move the version test into the chunk processing. As it is probably i/o dominated, this should not be a performance issue. Experienced Pythonistas, please review this supposition.