now using a temporary file if HiveMQ home folder was not set.