Exports ring buffer logs to a file. If crypto is enabled, the exported content is encrypted and base64url-encoded.