Set null byte in dump_iplist correct