write psf fits and xml in specex_psf_fit