-o1 -o2 -12 fix

Fixes the issue where when using multiple output files, everyting is
written to the -o2 output file.