The dollar strengthened against the yen and euro on stronger-than-expected U.S. housing data, but faces headwinds as German lawmakers neared a vote on stimulus.