Just a quick workaround to use a tmpfile if memfd is not available. We should try to ensure that we get something on tmpfs, but this is probably good enough for a fallback.