anchor.diff:        File :: file:filename(),
         BHead :: bytes().
   breopen(Log, NewFile, NewHead) ->
  -    req(Log, {reopen, NewFile, {ok, check_bytes(NewHead)}, breopen, 3}).
  +    req(Log, {reopen, NewFile, {ok, ensure_binary(NewHead)}, breopen, 3}).
   
   -type inc_wrap_error_rsn() :: 'no_such_log' | 'nonode'
                               | {'read_only_mode', log()}
  
positive.code: terms2bins([]) ->
      [].
  
  check_bytes_list([B | Bs], Bs0) when is_binary(B) ->
      check_bytes_list(Bs, Bs0);
  check_bytes_list([], Bs0) ->
      Bs0;
  check_bytes_list(_, Bs0) ->
      check_bytes_list(Bs0).
  
  check_bytes_list([B | Bs]) when is_binary(B) ->
      [B | check_bytes_list(Bs)];
  check_bytes_list([B | Bs]) ->
      [list_to_binary(B) | check_bytes_list(Bs)];
  check_bytes_list([]) ->
      [].
  
  check_bytes(Binary) when is_binary(Binary) ->     
      Binary;
  check_bytes(Bytes) -> 
      list_to_binary(Bytes).
  
  %%-----------------------------------------------------------------
  
negative.code:       Log :: log(),
        Bytes :: bytes().
  blog(Log, Bytes) ->
      req(Log, {blog, ensure_binary(Bytes)}).
  
  -spec log_terms(Log, TermList) -> ok | {error, Resaon :: log_error_rsn()} when
        Log :: log(),
  