Change to use cElementTree if available.