Check for EOF when appending from stream.