Python Remove Duplicate Lines From Text File