fixed Python 3 compatibility in pdtLocale_icu