Use \n in append_to_file methods. close #14