Fixed logging.StreamHandler for Python 2.6

Between Python 2.6 and 2.7, the StreamHandler parameters has been updated.
Merge pull request #41 from miniche/fix-logging-handler

Fixed logging.StreamHandler for Python 2.6