If the error originates from Heroku logs it is most likely that you hard coded a path to the directory in your code( Because heroku does not have a directory as /C:/Windows/TEMP
in deployment).
Otherwise please share the code so we can help trace where the error originates :)
-----------------------
this is right ,thanks for @Swechchha