Oil prices hit their highest level in nearly a year on Friday, gaining 8 percent on the week.