Calculate size of inst. stream in write function
Calculate size of inst. stream in write function

Should be easier to maintain, and looks like it won't lose any
performance

binji/pnacl.c,binji/pnacl.c,binji/pnacl.c