This fixes an issue where installation of Forge Generic would fail if the modpack's included settings.cfg file had Windows-style (\r\n) line endings
Make is so we can use settings.cfg in some capacity. Thanks `https://minecraft.curseforge.com/projects/all-the-mods-3` for not being standard.
Thanks to @parkervcp