Fix error in converting output to nunit2 format