Fixed 'Bug 17635 - Global line ending conversion setting lost for open
files on a closing file'.