Fix incorrect invocation of NmapParser in NetworkInventory.open_from_file