Make file type ext check not case sensitive