Added overwrite method write to Binary class for specifying if a stream
should be closed after writing. This new method is called from the
ZipMap preventing streams to be closed after inserting an entry.