fixed setItem

creates new file, copy's inputfile to output file, if the program finds
a "\n" than it replaces that line with the new info, then copies the
rest, else it adds the new info to the end.