Fix compiler error in the Swift example on Xcode 6.1.

'stringWithContentsOfFile(_:encoding:error:)' is unavailable: use object construction 'NSString(contentsOfFile:encoding:error:)'