EOF Return on Packetize

Packetize now accepts a pointer to return whether end of file was
reached..