Correct favicon exception for Python 2.6