Don't return EOF when reading 0 bytes.