virttest: Small invalid syntax fix

except..as syntax not support before python 2.6

Signed-off-by: Shuping Cui <scui@redhat.com>
Merge pull request #1627 from spcui/small_syntax_fix

virttest: Make nwfilter_xml.py compatible before python 2.6