check the proper state of the ofstreams before using them for output.
check the proper state of the ofstreams before using them for output.


git-svn-id: 31d9d2f6432a47c86a3640814024c107794ea77c@6746 0785d39b-7218-0410-832d-ea1e28bc413d

nicolacavallini/dealii,angelrca/dealii,kalj/dealii,lpolster/dealii,adamkosik/dealii,natashasharma/dealii,danshapero/dealii,msteigemann/dealii,EGP-CIG-REU/dealii,andreamola/dealii,johntfoster/dealii,natashasharma/dealii,msteigemann/dealii,mtezzele/dealii,ibkim11/dealii,Arezou-gh/dealii,andreamola/dealii,adamkosik/dealii,JaeryunYim/dealii,Arezou-gh/dealii,ibkim11/dealii,ESeNonFossiIo/dealii,ESeNonFossiIo/dealii,mtezzele/dealii,mtezzele/dealii,Arezou-gh/dealii,Arezou-gh/dealii,spco/dealii,naliboff/dealii,lue/dealii,nicolacavallini/dealii,flow123d/dealii,YongYang86/dealii,JaeryunYim/dealii,sairajat/dealii,maieneuro/dealii,johntfoster/dealii,kalj/dealii,jperryhouts/dealii,jperryhouts/dealii,msteigemann/dealii,sairajat/dealii,ibkim11/dealii,andreamola/dealii,EGP-CIG-REU/dealii,lue/dealii,jperryhouts/dealii,sriharisundar/dealii,mac-a/dealii,rrgrove6/dealii,EGP-CIG-REU/dealii,sriharisundar/dealii,ibkim11/dealii,angelrca/dealii,gpitton/dealii,pesser/dealii,johntfoster/dealii,spco/dealii,maieneuro/dealii,mtezzele/dealii,sriharisundar/dealii,mtezzele/dealii,ibkim11/dealii,msteigemann/dealii,jperryhouts/dealii,lue/dealii,nicolacavallini/dealii,JaeryunYim/dealii,YongYang86/dealii,angelrca/dealii,pesser/dealii,mac-a/dealii,johntfoster/dealii,sairajat/dealii,EGP-CIG-REU/dealii,sairajat/dealii,JaeryunYim/dealii,EGP-CIG-REU/dealii,adamkosik/dealii,flow123d/dealii,EGP-CIG-REU/dealii,shakirbsm/dealii,natashasharma/dealii,flow123d/dealii,mac-a/dealii,ESeNonFossiIo/dealii,sriharisundar/dealii,shakirbsm/dealii,kalj/dealii,lpolster/dealii,natashasharma/dealii,natashasharma/dealii,gpitton/dealii,msteigemann/dealii,andreamola/dealii,andreamola/dealii,danshapero/dealii,msteigemann/dealii,flow123d/dealii,maieneuro/dealii,pesser/dealii,mtezzele/dealii,mac-a/dealii,danshapero/dealii,rrgrove6/dealii,sairajat/dealii,angelrca/dealii,YongYang86/dealii,ESeNonFossiIo/dealii,flow123d/dealii,natashasharma/dealii,spco/dealii,naliboff/dealii,maieneuro/dealii,angelrca/dealii,ibkim11/dealii,shakirbsm/dealii,kalj/dealii,sairajat/dealii,Arezou-gh/dealii,ESeNonFossiIo/dealii,flow123d/dealii,rrgrove6/dealii,nicolacavallini/dealii,angelrca/dealii,lpolster/dealii,EGP-CIG-REU/dealii,kalj/dealii,Arezou-gh/dealii,mac-a/dealii,msteigemann/dealii,lpolster/dealii,danshapero/dealii,andreamola/dealii,adamkosik/dealii,YongYang86/dealii,YongYang86/dealii,rrgrove6/dealii,pesser/dealii,natashasharma/dealii,naliboff/dealii,flow123d/dealii,johntfoster/dealii,jperryhouts/dealii,adamkosik/dealii,danshapero/dealii,gpitton/dealii,sriharisundar/dealii,nicolacavallini/dealii,YongYang86/dealii,naliboff/dealii,gpitton/dealii,naliboff/dealii,gpitton/dealii,sairajat/dealii,rrgrove6/dealii,mac-a/dealii,Arezou-gh/dealii,lpolster/dealii,maieneuro/dealii,jperryhouts/dealii,johntfoster/dealii,spco/dealii,naliboff/dealii,sriharisundar/dealii,mac-a/dealii,naliboff/dealii,lpolster/dealii,maieneuro/dealii,nicolacavallini/dealii,shakirbsm/dealii,adamkosik/dealii,spco/dealii,shakirbsm/dealii,pesser/dealii,lue/dealii,danshapero/dealii,nicolacavallini/dealii,YongYang86/dealii,shakirbsm/dealii,ESeNonFossiIo/dealii,rrgrove6/dealii,kalj/dealii,spco/dealii,andreamola/dealii,gpitton/dealii,pesser/dealii,maieneuro/dealii,adamkosik/dealii,lue/dealii,ibkim11/dealii,sriharisundar/dealii,spco/dealii,pesser/dealii,lue/dealii,johntfoster/dealii,jperryhouts/dealii,lpolster/dealii,lue/dealii,shakirbsm/dealii,ESeNonFossiIo/dealii,JaeryunYim/dealii,rrgrove6/dealii,kalj/dealii,JaeryunYim/dealii,JaeryunYim/dealii,mtezzele/dealii,gpitton/dealii,danshapero/dealii,angelrca/dealii