I've had a flow running for a few months working flawlessly. Something was wrong with the machine this flow was running on and now I've switched it over to a Windows Server 2019 OS with the same user credentials logging in and running the flow.
No changes were made to this flow yet suddenly the flow will no longer run erroring out on the action "Rename file(s)" with "Folder doesn't exist". This folder it's working out of most certainly does exist so I'm not sure what's going on.
This is the action:

I tried adding in a message box with the same path to debug and it definitely generates the path to the correct location. If I paste the result into Windows Explorer it opens the file. What could possibly be going wrong?
Error details:
Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Folder doesn't exist ---> System.IO.DirectoryNotFoundException: Could not find a part of the path.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.RenameFilesAction.Execute(ActionContext context)
--- End of inner exception stack trace ---
at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.RenameFilesAction.Execute(ActionContext context)
at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)