anchor.diff:    Future<FileSystemEntity> populatePath(String path,
         {bool createParentDirectories: false, bool overwriteExisting: false});
   
  +  /**
  +   * We assume [_ensurePath] has been called first.
  +   */
  +  static Future<File> _populateFileWithStream(String path,
  +      Stream<List<int>> content) {
   
  -  static Future<File> _populateFileWithStream(String path,
  -      Stream<List<int>> content,
  +    var file = new File(path);
  +    return file.openWrite()
  +        .addStream(content)
  +        .then((_) {
  +          return file;
  +        });
  +  }
  +
  +  static Future _ensurePath(String path,
         {bool createParentDirectories: false, bool overwriteExisting: false}) {
   
       final dirName = pathos.dirname(path);
  
positive.code:     }
  
      if(source is Stream) {
        return _populateFileWithStream(path, source,
            createParentDirectories: createParentDirectories,
            overwriteExisting: overwriteExisting);
      }
  
      throw "Don't know how to populate from '$source'...yet?";
  
negative.code:           if(!parentDirExists && createParentDirectories) {
              return parentDir.create(recursive: true);
            }
          });
    }
  }
  
  