Enh: close file not stream and remove unecessry parts from writing
Enh: close file not stream and remove unecessry parts from writing

mne-tools/mne-cpp,chdinh/mne-cpp,chdinh/mne-cpp,LorenzE/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,LorenzE/mne-cpp,chdinh/mne-cpp,LorenzE/mne-cpp,mne-tools/mne-cpp,chdinh/mne-cpp,mne-tools/mne-cpp,mne-tools/mne-cpp