Storage location of nvidia-sleep.sh is volatile, causing resume to fail

In my Arch Linux setup, the nvidia-sleep.sh responsible for creating VT file and dealing with power management for the NVIDIA card is storing the file under /var/run/nvidia-sleep, which is a volatile directory, causing the file to be deleted when resuming from hibernation, which make the resuming of the NVIDIA card fails due to the file missing.
I change the RUN_DIR to /tmp/nvidia-sleep and the file is properly saved across reboot, the resume works properly afterwards.

My driver version is (using nvidia-open):
NVIDIA-SMI version : 550.78
NVML version : 550.78
DRIVER version : 550.78
CUDA Version : 12.4