mythburn.py: only use toprettyxml() in Python >= 2.7.3

There is a bug in older versions of that function which inserts additional
white space into text nodes causing problems when reading back in the
prettified xml file.

(cherry picked from commit 41264b6006221900d0a5fa685f67e6b6c0e972ef)