[BUGFIX] InlineElement: Make file extension check case insensitive