Scotland stunned Bangladesh by six runs in their Group B opener of the T20 World Cup first round in Al Amerat on Sunday.