Ensure FileBackedOutputStream used to tmp index is deleted. Fixes #20.

The `reset()` method both closes the stream and ensures it is deleted
on finalize.