uploadFile no longer closes the caller's input stream.

Automatically closing the stream made for shorter, safer code in the
common case.  But in the long run, I think it's better to have whoever
opened the stream be responsible for closing it.
ArrayEntryStore: Fix code example typo; create ValueStore base class.

Thanks to Christopher O'Connell.