#4066 Fix 'ExportGenesisFile() incorrectly overwrites genesis'
