add line feed at the end of file