Fix the Win32_rename() function so it correctly