inventory: Log inventory XMLs in temp xml files