Added ConfigManager to preserve some values. Fixes #221

Same here. Please use ``mkstemp``.