Importing SafeConfigParser from setup_common
Adding encoding to files.