Fix print blank lines to make this work under Python 3