handling savedRev for directories in _getDir listings