Import fixes by shifting to relax_io.write_spin_data_file().
Authored by: bugman 2009-10-07
Parent: [r9628]
Child: [r9630]