Added missing close (flush) overrides to ByteArray(Input|Output)Stream