Fix accepted file extension array.