Fixed error with file template overwriting open_loc_ports with open_net_ports