Use printf instead of echo

Signed-off-by: Andrei Dinin <adinin@pivotal.io>