code: function statSync(file) {
    utils.fileExists(file);
    Object.defineProperty(file, 'stat', {
      configurable: true,
      set: function(val) {
        file._stat = val;
      },
      get: function() {
        if (file._stat) {
          return file._stat;
        }
        if (this.exists) {
          file._stat = utils.fs.statSync(this.path);
          return file._stat;
        }
        return null;
      }
    });
  }
docs: Synchronously add a `stat` property from `fs.stat` to the given file object.
  
  ```js
  var File = require('vinyl');
  var stats = require('{%= name %}');
  var file = new File({path: 'README.md'});
  stats.statSync(file);
  console.log(file.stat.isFile());
  //=> true
  ```
  @name .statSync
  @param {Object} `file` File object
  @param {Function} `cb`
  @api public