Use native_str() for dtype setting.