Lennon Day-Reynolds  wrote:

>    while (chunk = input.read(BLOCKSIZE)) do

Too much C programming?  I thought that we "shouldn't" use tests like these
in Ruby -- in other words, we should test 'chunk' against 'nil' or emptyness
or something.   But then, you say it works OK on one platform...