Added support for python 3.xx and empty favicon.ico