Writes the entry as:
Writes the entry as:
<dir> / <index> / command # contains the bytes of the command <dir> / <index> / .term # contains the term
once an entry is committed, the empty file
<dir> / <index> / .committed
will be created. If a .committed file exists in this append then an exception is thrown
Note - implementations need to override one of the two appends
Note - implementations need to override one of the two appends