pithos: Fix sqlite backend

Related commit:6b3f6caee75841e59cc83e1fa6076261cb462c44