Added ConfigManager to preserve some values. Fixes #221

Hmm, in documentation there is:
Unlike TemporaryFile(), the user of mkstemp() is responsible for deleting the temporary file when done with it.
So I need always to manually delete that file. Or am I missing something?