Fix bug in ses3d_init.f90. Tried to write into files that had not been opened.