fix downcase extension name in extension generator for iOS
fix bad name extension issue for iOS and WM
fix for imvalid filenames in bad name extension generator