Ok, I got it to work by saving the file name with .JEX when exporting, not after exporting.