Fix ST3 compatibility in file type detection