Rename - Function Summary
Renames a file to a new name.
rename old new
old - path to the old file (must be: file url)
new - new name (not a path) (must be: file url string)
Renames a file within the same directory:
This function cannot be used to move a file from one directory to another.