Made file extension check case insensitive  should fix #27