Availability:built-in
rename_file(+File1,
+File2)Rename File1 as File2. The semantics is compatible
to the POSIX semantics of the rename() system call as far as the
operating system allows. Notably, if File2 exists, the
operation succeeds (except for possible permission errors) and is atomic
(meaning there is no window where File2 does not exist).