cmGeneratedFileStream: File resource leak if oldname not found
Avoid leaving file open in local function call when leaving due to other errors.
Topic-rename: cmGeneratedFileStream-resource-leak
Edited by Brad King
Avoid leaving file open in local function call when leaving due to other errors.
Topic-rename: cmGeneratedFileStream-resource-leak