fixes --addhdr and addresses issue #74
the python on Mac gotcha