am 0f116e12: Fix BIO_OutputStream::write to return the correct length.

* commit '0f116e124342ba8bf442cb01f220174cf650c5cc':
  Fix BIO_OutputStream::write to return the correct length.