WebLogs: Add Python 3 support. Closes GH-173.