Bangladesh saw a decline of nearly 4% in the export of ready-made garments in the first eight months of the year, new figures show.