Added ConfigManager to preserve some values. Fixes #221

Please, remove this method. With ``mkstemp``, it is not necessary.