Sets a specified stats directory.
- index
- Required Long representing the directory name to change.
- Dir
- Required String which is the new name of the directory.
Boolean value indicating success or failure of call to set name of the directory specified by Index. If the index value is greater than the number of directories, the call will fail.