Update utils.py

I propose to change the extensions of the file to lowercase instead of to have all extensions in lowercase and uppercase.