Made server-stats Python 2.6 compatible