I do know with writeini mirc has problem writing to an in i file that is over 64k so this might be something simular - now you can use the new -n switch ..
From help file: If the -n switch is specified, mIRC will attempt to write to the .ini file even if it is larger than 64k.



mIRC Chm Help 6.16.0.3 Full Anchored!