The URL is a file URL pointing to a location inside my Group Container:
/Users/username/Library/Group Containers/group.com.username.appname/Temp
I am using the Group Container because my share sheet is called from inside an AUv3 Extension sandbox. Would that make a difference compared to a 'regular' standalone app?