Fixed the writing of the network virtual interface file