Remove new line at file end