Khan's jail custody extended till September 13 to investigate him on charges of leaking state secrets, his lawyer says.