anchor.diff:      %% If the file is open, just update the access time.
       WithNewFile = case FileInfo of
           false ->
  -            {ok, NewPid} = await_file_server(TorrentID, RelPath),
  +            NewPid = await_file_server(TorrentID, RelPath),
               NewMon = erlang:monitor(process, NewPid),
               ok = etorrent_io_file:open(NewPid),
               NewFile = #io_file{
  
positive.code: %% @end
  -spec allocate(torrent_id()) -> ok.
  allocate(TorrentID) ->
      {ok, DirPid} = await_directory(TorrentID),
      {ok, Files}  = get_files(DirPid),
      Dldir = etorrent_config:download_dir(),
      lists:foreach(
  
negative.code:     ok;
  write_file_blocks(TorrentID, Chunk, [{Path, Offset, Length}|T]=L) ->
      ok = schedule_io_operation(TorrentID, Path),
      FilePid = await_open_file(TorrentID, Path),
      <<Block:Length/binary, Rest/binary>> = Chunk,
      case etorrent_io_file:write(FilePid, Offset, Block) of
          {error, eagain} ->
  