wal: cut(i uint64) -> cut

/cc @philips @jonboulle @unihorn 
the last written entry is 0 when create.
it is correct. sry.