Python script will dedupe text file line by line