add get_dirent_by_path rpc
Merge pull request #941 from jyelee/3.1

add get_dirent_by_path rpc