Fileformat was set to DOS for settings.py. Changed it to Unix.

settings.py fileformat was DOS, So ^M characters were showing at end of
each line. Most of us work with unix, so let's keep unix fileformat.