Generate a random hex string as the process id since Process.pid is not supported on all platforms (specifically, does not work on Heroku)