Fix store/load file cleanup in tests

Fixes #66.