It is really quite pathetic that, after all these years, if you rename a file in MacOS Finder and the new name contains a forbidden character (e.g. colon), an error pops up and the filename reverts to the original — all changes are lost.