I think the 'ate' might actually count not from the start of the file
but from the initial position, one beyond the end. Since you're going
to be writing after the end, the contents of the file prior to your
writing are considered irrelevant. Maybe. I am not sure, this is just
my speculation.
V
--
I do not respond to top-posted replies, please don't ask