TEZ-1216. Clean up the staging directory when the application completes. (hitesh)
This closes #3