Fix the bug that string "-o" in the filename is removed.