[FileSystem] Updated rename for Windows systems

Updated the rename function to include the fix for the \rename function of PHP (on windows systems).