Fix for uppercase file extensions