Replace spaces in sensor name with underscores

Sensors don't have spaces in their names on D-Bus so if the user gives
us a name with spaces in it, convert them to underscores.

Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Change-Id: Ia6ad6de62a605a873f5bab40d1d3bf859c32c57b
1 file changed