It's suggested that you make a 2nd copy of Cave Story on your computer and use it for editing purposes.
Once you've done that, enter the main folder and open the properties. Then click the "Read-Only" box so that it's UNCHECKED and then apply changes to that folder and all folders inside it. This will allow you to edit and save changes.