FST: filemd: Reuse Paths and implement a frequency counter
Since the attr handler only works on path avoid the need to translate fid <-> path and back during conversion routines and reuse the path obtained from walking the dir. tree. This is also useful in other contexts where we already have the path to avoid simply converting back and forth between paths and fids