Fixed issue with CLI bulk export breaking perms.

Fixed an issue with the CLI bulk export that caused permissions
not to work.