[#192] Newlines at end of files

And a couple of other small lint fixes