[docs] [issue26001] Tutorial: write() does not expect string in binary mode