Minor tweak to WriteMoleculeList