remove trailing newline

Check out this pull request.