s4-ldb: make ldb tools line buffered