Support upper case for extname