add missing new line to the end of the file