Close the file when exec is called.
exec
const MFD_CLOSE_ON_EXEC: MemfdFlags = MemfdFlags(cty::MFD_CLOEXEC);
memfd_create(2) and MFD_CLOEXEC therein