Add hgfs mountpoints and per-repo configuration params

This adds the same feature recently merged for gitfs. Also, I made a slight change to error reporting for ``file.recurse`` states.