Fixed bug that occurred when -m add was set, but no output file existed.