https://bugzilla.wikimedia.org/show_bug.cgi?id=55268
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- If you receive a "output.txt deleted" message, then the bug isn't in "copyright_put" script but in the Page::put() function that returns succesful instead of raising a "PageNotSaved" error. Do you get some error message from MediaWiki by manually puting the text to it.wiki site? That helps to identify the cause.
In spite of this reply, please note that nowadays the copyright scripts are unmantained, thus you may experience a loss of functionality.