It seems like this is coming down to a matter of personal preference. Since dcs-index already uses TMPDIR (indirectly through the codesearch upstream code), please change this to also use TMPDIR here for consistency.