ENH : add write_info function
Merge pull request #1092 from agramfort/write_info

ENH : add write_info function