Wall Street snapped a six-week losing streak Friday despite a worsening Greek debt crisis that rattled the markets from abroad and a continuing trickle of mixed economic data that has muddled the outlook for the United States. The Dow Jones industrial average closed the week in slightly positive territory, ending the longest series of weekly losses since 2002.