Updating the python code in the C2 IP Range idiom so it generates valid XML.

Requires [this PR](https://github.com/STIXProject/python-stix/pull/95) to be merged.