lib/cocoa: fix NSString::to_s to use to_s_with_copy