db: set LC_ALL="C" for all operations

Change-Id: I4a9ea01e6f8e081bfb9adc4618341d4b691b82fa
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>