Ensures newlines on EOF on save