anchor.diff:    String _outputPath;
     int _fileCount = 0;
     int _totalLengthBytes = 0;
  +  final _paths = <String>[];
   
     PubResourceProvider(
       this._defaultProvider, {
  
positive.code: 
    @override
    void writeAsBytesSync(List<int> bytes) {
      _provider._aboutToWriteBytes(bytes.length);
      _delegate.writeAsBytesSync(bytes);
    }
  
  
negative.code: 
    /// Writes in-memory files to disk.
    void writeFilesToDiskSync() {
      for (final path in _paths) {
        final r = _memoryResourceProvider.getResource(path);
        final c = r as File;
        final file = io.File(c.path);
        file.parent.createSync(recursive: true);
        file.writeAsBytesSync(c.readAsBytesSync());
      }
    }
  
    /// Checks if we have reached any file write limit before storing the bytes.
    void _aboutToWriteBytes(String path, int length) {
      _paths.add(path);
      _fileCount++;
      _totalLengthBytes += length;
      if (_fileCount > _maxFileCount) {
  