Conversion of acetals into monothioacetals, α-alkoxyazides and α-alkoxyalkyl thioacetates with magnesium bromide