Normalize case on extension check