Fixed image creation from bytestring bug

Fixed imageCreateFromLazyByteString, peek from CString with specified length,
to avoid recognizing zeroes in data as NULL-termination in string