Clear file state after they're persisted to disk on `#commit()`

Fix #7