Move INI writer classes to the File namespace

fixes #7150