Remove new line at end of file.