Fix export to filenameWithExtension.newExtension