BUG: add a to_dict in genfileio to avoid crash when .write to db
Or are they not meant to be written to a database?
Checklist
-
I am familiar with ASE's contribution guidelines. -
Doc strings in code changed in this MR are up to date. -
Unit tests have been added for new or changed code. -
Issue is resolved via "closes #XXXX" if applicable.