add wrap function 'mongoc_stream_write'.

Closes #130