Family Dollar Q2 profit edges up; opening 500 stores this year