Please close the stream

The stream doesn't get closed so at least in Java on Windows this means all subsequent tests fail because they can't clean up the directory since this stream is still open and holding a handle on the file.
Merge pull request #332 from yaronyg/patch-2

Please close the stream