fix MetaHelper corrupting files on Windows

Always use \n for line-endings
Merge pull request #249 from sstok/fix-MetaHelper

fix MetaHelper corrupting files on Windows