Enforced file closing. This was necessary for better performance on Windows as Whisper was able to crash while still holding a lock on .wsp files. This behaviour did not occur in Linux.
Improved whisper test cases.