Added ConfigManager to preserve some values. Fixes #221

Please, add the OSError as well. While 3.3 is a widely adopted version of Python, we want to support as many configurations as possible. Thank you.