contrib: Update the fixer script

Now takes an input file and an output file as arguments.