Open tempIndexFile with FileMode.Create

Probably fixes #4, because it was leaving the old file contents there.
Durr.