Don't inbclude listen port and testnet option into autogenerated config file.