2 calls to
RESTFILE_CLOSERESTART

RESTFILE_WRITE
RESTFILE_WRITE_BINARY