Remove codex.cdx before every re-compilation ...

The file should be created afresh everytime \begin{codex}..\end{codex}
is executed.