Make tempdirectory a String instead of a NSURL.

The fact that NSURLs cannot be created with string literals makes them too cumbersome to use.