FlxAssets#getFileReferences: fix potential issue with duplicate file name handling