Novak Djokovic escapes a terrifying Wimbledon test against Roman Safiullin