Dow chalks up best week in five years, closes at record high