Remove empty line from end of file.