use SafeConfigParser

using SafeConfigParser is recommended by the Python documentation.