change extension uppercase to lowercase