Run an operating system that uses journalled filesystems? AKA, anything other than Win9x.
(/me ducks)
Alternatively, you could just make your computer not crash while updating the metadata for the .val files.
Unfortunately, I can't (seriously) think of anything good...