Update config.py

Fixing FileNotFoundError to be IOError so more generic. Also handles differences between python3.3 and 3.4