Fixing long lines and missing eof newlines