Use six.BytesIO for 3.3 support. refs #98