apply patch to add export functionality to nodeque