Fixing temp directory path.