Multiple bugfixes in BitContainer[OutputStream].