treat uppercase extensions as well