Fixes windows line endings bug in config file parser

The config file parser is now able to parse config files with windows line endings (\r\n)