Swift: make temp URLs actually work

Temp URLs never worked for private containers, fix this.

Change-Id: I0eabd7b54fc79819f3b16ba459fc2291b6559639