rework the csv file recorder to open a file at `prepare` not at initialization.
rework the csv file recorder to open a file at `prepare` not at
initialization.

enthought/pikos,enthought/pikos,enthought/pikos