flush output on print

I'm pretty sure this is how the Python logging generally behaves. And it's the way I like it.