Returns the settings directory.
The settings directory is the directory containing the settings file.