Add terminating newlines to files

Sorry for the whitespace PR, but these warnings are driving me nuts.