Add option to strip blank lines.

This addes the ability to strip new lines at the end of a file. So
if there is a bunch of empty lines created it will remove them.
Merge pull request #3 from cwood/master

Add option to strip blank lines.