Dollar flat, but on track for eight straight weeks of gains