Added support for images from BytesIO streams.

Issue #118.
Update with official BytesIO support