Fix for Bug 907778: Python 3.3 logs not getting updated.

The logs are not getting updated due to stdout buffering in python 3.