raft: always write dummy entry to storage

Fix #1791.