[COOK-3596] ignore case in searching for extension in PEAR/PECL

https://tickets.opscode.com/browse/COOK-3596