Andrew Shaw scored twice as the Chicago Blackhawks defeat the Detroit Red Wings in Game 5 and avoid elimination.