It turns out I was a little over-strict in my handling of EOF in