Fixing python 2.0 python 3.0 compatibility issues with ia5 strings.