Increment header levels in wordpress import plugin using lxml