Doesn't crash anymore, withCString now works properly with NSString backed Swift strings.