Use StringIO from salt._compat
Compatibility import for ElementTree