This commit addresses a fundamental flaw that @fgregg discovered in 4241a0008f2a331fb050550da68b43a6d6956316 that closed #23. This attempts to fix the fact that there were unnecessary trailing commas in the output and cleans up the sys.stdout piping all in one go.
Merge branch 'master' of github.com:datamade/csvdedupe

Conflicts:
	csvdedupe/csvdedupe.py
	csvdedupe/csvhelpers.py