On Apr 4, 2006, at 1:13 PM, Pia Kraft wrote:
> I'm only guessing but the different file size suggests that our old
> friend LF vs. CR/LF rears its ugly head again.

I thought the OP was on a Linux box where there is no difference  
between a binary
and text file but if the problem is on a Windows system then you have  
to explicitly
open the file in binary mode to avoid the LF CR/LF issues of text I/O.

Gary Wright