Reversed extensions array

Reversed extensions array so that coffee extensions are handled first
when the coffee parameter is included.