remove newline at end of file