fix for issue #561 removing empty lines (python 3)

Extra lines are added because in python 3 StreamHandler() first writes message to stream and then writes delimiter ('\n'). Stream is wrapped with django's OutputWrapper(), which checks if message ends with ending ('\n' again) and if not appends it to message.
Not using default ending='\n' in django's OutputWrapper() should fix the issue.