[file-browser] apply some patches on file-cache-mgr.cpp

1. enlarge path_max

2. add primary key restrict of pair (path, repo_id)