Work around issues in node .9/.10