wal: record node id at the head of WAL file

So etcd can know its id when it restarts.
WAL doesn't know the id of these files until it reads some file.
so i do the check here.