[lxml-dev] Bug with attribute mangling when adding child elements