When adding new config section, handle config file not ending with LF
Make sure \n is at the end of config file before a new section is wri…
Add unit test to test add section without lf at EOF
The comment wasn't moved? :P
No problem, because you either have that section or have just written the section.