Fix compacting empty lines

This pull request fixes the default behavior of compacting empty lines (with ```--compact``` and without it).

I often format the output of my scripts in a way that it's easy to read (with lots of paragraphs and empty lines) and the default behavior was messing with it.