Fix incorrect alignment on first line of a file

Closes #31
Merge pull request #33 from davejamesmiller/master

Fix incorrect alignment on first line of a file