Wehn detecting file format via file extension we should compare it in case-insensitive way. CCBUG:447454