Remove ending slash for cache path.
Add temporary files to hook make_incremental.sh