Writing an image using file node and a binary buffer

Hi.

I have a similar problem
Recieving data from socket and everything from byte 11 in file is not the same as what comes from stream.