When using /writeini, why does mIRC replace the "[" and "]" characters with "~"? Is there a way to stop this?

For example:

Code:
/writeini myscript.ini ToDo [Homework]Math 50%


Will write as:

[ToDo]
~Homework~Math=50%


I need it to stop doing that.