Ignore case when checking for extension