bugfix: file extname to lower case