Fixed issue on reading binary of image

Issue in python 2.7.3 with BytesIO on reading file_binary buffer
Merge pull request #8 from tarunbhardwaj/develop

Fixed issue on reading binary of image