Remove newline at the end of file