This further helps identify what process is responsible for the file.
The process id alone is not unpredictable enough to make the file safe, so we add the $RANDOM shell variable to append a random number to the file name.