Fixed issue on reading binary of image

Issue in python 2.7.3 with BytesIO on reading file_binary buffer