httpserver: Fix issue with Python 2 if no favicon is set.