Include 'overwirte' parameter to call rename() function

To Call rename($name = '', $append = '', $prepend = '', $overwrite = false) , we need to specify the $options['overwrite'] parameter, otherwise overwrite is always false.