Swift 3: the type of NSURL.path is String? but the type of Foundation.URL.path is String. I can sort of see the logic, but ugh.