French prosecutors have indicted Telegram founder Pavel Durov over allegations of the app being used for illegal activities.