Modify --temp-file at index-lm.sh and index-typo.sh