The average rate on a 30-year fixed-rate mortgage was 3.54 percent this week, according to Freddie Mac.