Make the ".dds" check caseless again by transforming the string to lowercase.