Fixes temporary folder issue.