Modifying the data file from outside Gnucash (regardless of file format) is not recommended. Most people I hear wanting this go with an app that will export QIF which can later be imported.