queued now writes valve only when different

To avoid file change triggers spkpi-queued has
be changed so that it checks if the valve file
is different before writing a value.