i also experienced that. closing mirc is the only way to free the file again.
this doesnt matter in normal operations i guess but when developing a new file its pretty annoying. you cant just compile the file and reload it. restarting mirc all the time takes alot of time.