code: function _doRotate() {
      _this.rotate(file, options, function(err, rotated) {
        if (err) {
          _this.emit('error', err);
          return;
        }
        if (rotated) {
          _this.emit('rotate', file);
        }
      });
    }
docs: perform rotation