Probably not really a useful answer, but, I've only renamed files using the {.rename|oldname|newname.} command macro. That may well do some post under the covers, but as far as I know, the only way to rename files is to have some code in the server's config call the rename macro.