Remove empty line at end of file