fix some newlines at the end of files