Fix networkport management in network inventory
Fix path to write xml files for network inventory