Check that there's sql to print before printing extraneous newlines
Merge pull request #21 from austinhyde/fix-newlines

Check that there's sql to print before printing extraneous newlines