cleanup in useFileMappedBuffer support implementation