check if the hdaps sampling rate file exists before accessing it

this removes a warning on non tp-smapi hdaps installations, where
the sampling rate file does not exist.