tools/render: fix opening file with proper O_BINARY flag if defined
tools/render: fix opening file with proper O_BINARY flag if defined

gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl,gopro/gopro-lib-node.gl