Fixed writing of status file for atlas events