Revert "Don't clean up temp directory"

Summary: This reverts commit f9ab2b0f18dcfc6dc3c6104893541c439a271aad.

Test Plan: Run sgrep and check it runs properly; make test

Reviewers: pad

Reviewed By: pad

Differential Revision: https://phabricator.fb.com/D758463