Discount "dollar stores" were booming not so long ago, reaching into small towns and urban neighborhoods across the country.