Fixing capitalised file extensions