What comes in, must go out .. or better: file streams that are opened
must be closed. This has been a long-standing bug but only introduced
problems recently on Windows such that when opening a new project
an exception would occur and the new project could not be opened.