network: write network units with user units

This allows us to test the network unit generation as well as removing
some special-cased code.
Was this the only user of `runtimeNetworkPath`?