json-to-bson: check result from fwrite() and bail on failure.
json-to-bson: check result from fwrite() and bail on failure.

remicollet/libbson,Machyne/libbson,ajdavis/libbson,ajdavis/libbson,jqk6/libbson,rcsanchez97/libbson,Convey-Compliance/libbson,rcsanchez97/libbson,paulmelnikow/libbson,Machyne/libbson,mongodbinc-interns/libbson,derickr/libbson,Machyne/libbson,remicollet/libbson,Convey-Compliance/libbson,paulmelnikow/libbson,4Second2None/libbson_tmp,derickr/libbson,rayyang2000/libbson,remicollet/libbson,mapr/libbson,paulmelnikow/libbson,ajdavis/libbson,mapr/libbson,rayyang2000/libbson,jqk6/libbson,ksuarz/libbson,mongodbinc-interns/libbson,4Second2None/libbson_tmp,mongodbinc-interns/libbson,rayyang2000/libbson,alexeyvo/libbson,ksuarz/libbson,rcsanchez97/libbson,mongodb/libbson,alexeyvo/libbson,rayyang2000/libbson,paulmelnikow/libbson,Machyne/libbson,bjori/libbson,mapr/libbson,bjori/libbson,bjori/libbson,Convey-Compliance/libbson,4Second2None/libbson_tmp,paulmelnikow/libbson,remicollet/libbson,jqk6/libbson,derickr/libbson,mongodb/libbson,mongodbinc-interns/libbson,mongodb/libbson,4Second2None/libbson_tmp,ksuarz/libbson,derickr/libbson,alexeyvo/libbson,jqk6/libbson