truncated_hintfile_test: less verbose, use try/after to reset env var