China's textile and apparel exports were up 3.2% in the first half of the year, thanks to a sharp increase in demand for anti-epidemic textiles such as masks, new data shows.