Correctly use current user instead of file owner as user for sharing activities
Remove trailing slash from item name when sharing a folder