code: function contentsSync(file, options) {
    if (!utils.isObject(file)) {
      throw new TypeError('expected file to be an object');
    }
  
    try {
      // ideally we want to stat the real, initial filepath
      file.stat = fs.lstatSync(file.history[0]);
    } catch (err) {
      try {
        // if that doesn't work, try again
        file.stat = fs.lstatSync(file.path);
      } catch (err) {
        file.stat = new fs.Stats();
      }
    }
  
    utils.syncContents(file, options);
    return file;
  }
docs: Sync method for getting `file.contents`.
  
  @param  {Object} `file`
  @param  {Object} `options`
  @return {Object}