[file view] fixed path bug for 'share'